package com.heima.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

@Data
@ApiModel(description = "登录的数据模型")
public class LoginDto {

    @ApiModelProperty(value = "用户名(后台登录需要提供)")
    private String loginName;

    @ApiModelProperty(value = "密码(后台或代理商登录需要提供)")
    private String password;

    @ApiModelProperty(value = "客户端登录需要提供")
    private String mobile;

    @ApiModelProperty(value = "验证码")
    private String code;

    @ApiModelProperty(value = "客户端请求验证码的token，两个后台登录需要提供")
    private String clientToken;

    @ApiModelProperty(value = "登录类型 0：后台；1：运营运维端；2：合作商后台")
    private Integer loginType;

    @ApiModelProperty(value = "账号(合作商登录需要，手机号)")
    private String account;
}
